﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FastMvc.Auth
{
    /// <summary>
    /// 当前登录用户的基本信息
    /// </summary>
    public class UserAuthInfo
    {
        public string sUserId { get; set; }

        public string sUserName { get; set; }

        public string sOrgId { get; set; }

        public string sOrgName { get; set; }

        /// <summary>
        /// 登录Token
        /// </summary>
        public string LoginToken { get; set; }

        /// <summary>
        /// 权限列表
        /// </summary>
        public IEnumerable<string> Permissions { get; set; }

        /// <summary>
        /// 其他身份信息（视后期需求添加）
        /// </summary>
        public Dictionary<string, string> Claims { get; set; }
    }
}
